package com.wt.springsamples.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wt.springsamples.model.SysMenu;
import com.wt.springsamples.model.SysRole;

import java.util.List;

public interface ISysRoleService extends IBaseService<SysRole> {

    boolean update(SysRole entity);

    void  deleteById(Long id);

    void  deleteByIds(List<Long> id);

    <T> Page<SysRole> selectPage(T condition, int pageIndex, int pageSize);

    void config(Long roleId,List<Long> funcIdList);

    void viewConfig(Long roleId,List<Long> viewIdList);

    List<Long> getConfigMenuList(long roleId);


}


